package com.jyh.db.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class JyhMoneyCostLogExample {
    /**
     * jyh_money_cost_log
     */
    protected String orderByClause;

    /**
     * jyh_money_cost_log
     */
    protected boolean distinct;

    /**
     * jyh_money_cost_log
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public JyhMoneyCostLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-10-17
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * jyh_money_cost_log 2017-10-17
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIDIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIDIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIDEqualTo(Integer value) {
            addCriterion("ID =", value, "ID");
            return (Criteria) this;
        }

        public Criteria andIDNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "ID");
            return (Criteria) this;
        }

        public Criteria andIDGreaterThan(Integer value) {
            addCriterion("ID >", value, "ID");
            return (Criteria) this;
        }

        public Criteria andIDGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "ID");
            return (Criteria) this;
        }

        public Criteria andIDLessThan(Integer value) {
            addCriterion("ID <", value, "ID");
            return (Criteria) this;
        }

        public Criteria andIDLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "ID");
            return (Criteria) this;
        }

        public Criteria andIDIn(List<Integer> values) {
            addCriterion("ID in", values, "ID");
            return (Criteria) this;
        }

        public Criteria andIDNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "ID");
            return (Criteria) this;
        }

        public Criteria andIDBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "ID");
            return (Criteria) this;
        }

        public Criteria andIDNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "ID");
            return (Criteria) this;
        }

        public Criteria andDayTimeIsNull() {
            addCriterion("dayTime is null");
            return (Criteria) this;
        }

        public Criteria andDayTimeIsNotNull() {
            addCriterion("dayTime is not null");
            return (Criteria) this;
        }

        public Criteria andDayTimeEqualTo(String value) {
            addCriterion("dayTime =", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeNotEqualTo(String value) {
            addCriterion("dayTime <>", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeGreaterThan(String value) {
            addCriterion("dayTime >", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeGreaterThanOrEqualTo(String value) {
            addCriterion("dayTime >=", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeLessThan(String value) {
            addCriterion("dayTime <", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeLessThanOrEqualTo(String value) {
            addCriterion("dayTime <=", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeLike(String value) {
            addCriterion("dayTime like", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeNotLike(String value) {
            addCriterion("dayTime not like", value, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeIn(List<String> values) {
            addCriterion("dayTime in", values, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeNotIn(List<String> values) {
            addCriterion("dayTime not in", values, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeBetween(String value1, String value2) {
            addCriterion("dayTime between", value1, value2, "dayTime");
            return (Criteria) this;
        }

        public Criteria andDayTimeNotBetween(String value1, String value2) {
            addCriterion("dayTime not between", value1, value2, "dayTime");
            return (Criteria) this;
        }

        public Criteria andMsgIsNull() {
            addCriterion("msg is null");
            return (Criteria) this;
        }

        public Criteria andMsgIsNotNull() {
            addCriterion("msg is not null");
            return (Criteria) this;
        }

        public Criteria andMsgEqualTo(Integer value) {
            addCriterion("msg =", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgNotEqualTo(Integer value) {
            addCriterion("msg <>", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgGreaterThan(Integer value) {
            addCriterion("msg >", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgGreaterThanOrEqualTo(Integer value) {
            addCriterion("msg >=", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgLessThan(Integer value) {
            addCriterion("msg <", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgLessThanOrEqualTo(Integer value) {
            addCriterion("msg <=", value, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgIn(List<Integer> values) {
            addCriterion("msg in", values, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgNotIn(List<Integer> values) {
            addCriterion("msg not in", values, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgBetween(Integer value1, Integer value2) {
            addCriterion("msg between", value1, value2, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgNotBetween(Integer value1, Integer value2) {
            addCriterion("msg not between", value1, value2, "msg");
            return (Criteria) this;
        }

        public Criteria andMsgMoneyIsNull() {
            addCriterion("msgMoney is null");
            return (Criteria) this;
        }

        public Criteria andMsgMoneyIsNotNull() {
            addCriterion("msgMoney is not null");
            return (Criteria) this;
        }

        public Criteria andMsgMoneyEqualTo(BigDecimal value) {
            addCriterion("msgMoney =", value, "msgMoney");
            return (Criteria) this;
        }

        public Criteria andMsgMoneyNotEqualTo(BigDecimal value) {
            addCriterion("msgMoney <>", value, "msgMoney");
            return (Criteria) this;
        }

        public Criteria andMsgMoneyGreaterThan(BigDecimal value) {
            addCriterion("msgMoney >", value, "msgMoney");
            return (Criteria) this;
        }

        public Criteria andMsgMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("msgMoney >=", value, "msgMoney");
            return (Criteria) this;
        }

        public Criteria andMsgMoneyLessThan(BigDecimal value) {
            addCriterion("msgMoney <", value, "msgMoney");
            return (Criteria) this;
        }

        public Criteria andMsgMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("msgMoney <=", value, "msgMoney");
            return (Criteria) this;
        }

        public Criteria andMsgMoneyIn(List<BigDecimal> values) {
            addCriterion("msgMoney in", values, "msgMoney");
            return (Criteria) this;
        }

        public Criteria andMsgMoneyNotIn(List<BigDecimal> values) {
            addCriterion("msgMoney not in", values, "msgMoney");
            return (Criteria) this;
        }

        public Criteria andMsgMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("msgMoney between", value1, value2, "msgMoney");
            return (Criteria) this;
        }

        public Criteria andMsgMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("msgMoney not between", value1, value2, "msgMoney");
            return (Criteria) this;
        }

        public Criteria andFaceIsNull() {
            addCriterion("face is null");
            return (Criteria) this;
        }

        public Criteria andFaceIsNotNull() {
            addCriterion("face is not null");
            return (Criteria) this;
        }

        public Criteria andFaceEqualTo(Integer value) {
            addCriterion("face =", value, "face");
            return (Criteria) this;
        }

        public Criteria andFaceNotEqualTo(Integer value) {
            addCriterion("face <>", value, "face");
            return (Criteria) this;
        }

        public Criteria andFaceGreaterThan(Integer value) {
            addCriterion("face >", value, "face");
            return (Criteria) this;
        }

        public Criteria andFaceGreaterThanOrEqualTo(Integer value) {
            addCriterion("face >=", value, "face");
            return (Criteria) this;
        }

        public Criteria andFaceLessThan(Integer value) {
            addCriterion("face <", value, "face");
            return (Criteria) this;
        }

        public Criteria andFaceLessThanOrEqualTo(Integer value) {
            addCriterion("face <=", value, "face");
            return (Criteria) this;
        }

        public Criteria andFaceIn(List<Integer> values) {
            addCriterion("face in", values, "face");
            return (Criteria) this;
        }

        public Criteria andFaceNotIn(List<Integer> values) {
            addCriterion("face not in", values, "face");
            return (Criteria) this;
        }

        public Criteria andFaceBetween(Integer value1, Integer value2) {
            addCriterion("face between", value1, value2, "face");
            return (Criteria) this;
        }

        public Criteria andFaceNotBetween(Integer value1, Integer value2) {
            addCriterion("face not between", value1, value2, "face");
            return (Criteria) this;
        }

        public Criteria andFaceMoneyIsNull() {
            addCriterion("faceMoney is null");
            return (Criteria) this;
        }

        public Criteria andFaceMoneyIsNotNull() {
            addCriterion("faceMoney is not null");
            return (Criteria) this;
        }

        public Criteria andFaceMoneyEqualTo(BigDecimal value) {
            addCriterion("faceMoney =", value, "faceMoney");
            return (Criteria) this;
        }

        public Criteria andFaceMoneyNotEqualTo(BigDecimal value) {
            addCriterion("faceMoney <>", value, "faceMoney");
            return (Criteria) this;
        }

        public Criteria andFaceMoneyGreaterThan(BigDecimal value) {
            addCriterion("faceMoney >", value, "faceMoney");
            return (Criteria) this;
        }

        public Criteria andFaceMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("faceMoney >=", value, "faceMoney");
            return (Criteria) this;
        }

        public Criteria andFaceMoneyLessThan(BigDecimal value) {
            addCriterion("faceMoney <", value, "faceMoney");
            return (Criteria) this;
        }

        public Criteria andFaceMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("faceMoney <=", value, "faceMoney");
            return (Criteria) this;
        }

        public Criteria andFaceMoneyIn(List<BigDecimal> values) {
            addCriterion("faceMoney in", values, "faceMoney");
            return (Criteria) this;
        }

        public Criteria andFaceMoneyNotIn(List<BigDecimal> values) {
            addCriterion("faceMoney not in", values, "faceMoney");
            return (Criteria) this;
        }

        public Criteria andFaceMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("faceMoney between", value1, value2, "faceMoney");
            return (Criteria) this;
        }

        public Criteria andFaceMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("faceMoney not between", value1, value2, "faceMoney");
            return (Criteria) this;
        }

        public Criteria andRiskIsNull() {
            addCriterion("risk is null");
            return (Criteria) this;
        }

        public Criteria andRiskIsNotNull() {
            addCriterion("risk is not null");
            return (Criteria) this;
        }

        public Criteria andRiskEqualTo(Integer value) {
            addCriterion("risk =", value, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskNotEqualTo(Integer value) {
            addCriterion("risk <>", value, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskGreaterThan(Integer value) {
            addCriterion("risk >", value, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskGreaterThanOrEqualTo(Integer value) {
            addCriterion("risk >=", value, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskLessThan(Integer value) {
            addCriterion("risk <", value, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskLessThanOrEqualTo(Integer value) {
            addCriterion("risk <=", value, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskIn(List<Integer> values) {
            addCriterion("risk in", values, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskNotIn(List<Integer> values) {
            addCriterion("risk not in", values, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskBetween(Integer value1, Integer value2) {
            addCriterion("risk between", value1, value2, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskNotBetween(Integer value1, Integer value2) {
            addCriterion("risk not between", value1, value2, "risk");
            return (Criteria) this;
        }

        public Criteria andRiskMoneyIsNull() {
            addCriterion("riskMoney is null");
            return (Criteria) this;
        }

        public Criteria andRiskMoneyIsNotNull() {
            addCriterion("riskMoney is not null");
            return (Criteria) this;
        }

        public Criteria andRiskMoneyEqualTo(BigDecimal value) {
            addCriterion("riskMoney =", value, "riskMoney");
            return (Criteria) this;
        }

        public Criteria andRiskMoneyNotEqualTo(BigDecimal value) {
            addCriterion("riskMoney <>", value, "riskMoney");
            return (Criteria) this;
        }

        public Criteria andRiskMoneyGreaterThan(BigDecimal value) {
            addCriterion("riskMoney >", value, "riskMoney");
            return (Criteria) this;
        }

        public Criteria andRiskMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("riskMoney >=", value, "riskMoney");
            return (Criteria) this;
        }

        public Criteria andRiskMoneyLessThan(BigDecimal value) {
            addCriterion("riskMoney <", value, "riskMoney");
            return (Criteria) this;
        }

        public Criteria andRiskMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("riskMoney <=", value, "riskMoney");
            return (Criteria) this;
        }

        public Criteria andRiskMoneyIn(List<BigDecimal> values) {
            addCriterion("riskMoney in", values, "riskMoney");
            return (Criteria) this;
        }

        public Criteria andRiskMoneyNotIn(List<BigDecimal> values) {
            addCriterion("riskMoney not in", values, "riskMoney");
            return (Criteria) this;
        }

        public Criteria andRiskMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("riskMoney between", value1, value2, "riskMoney");
            return (Criteria) this;
        }

        public Criteria andRiskMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("riskMoney not between", value1, value2, "riskMoney");
            return (Criteria) this;
        }

        public Criteria andWithdrawalIsNull() {
            addCriterion("withdrawal is null");
            return (Criteria) this;
        }

        public Criteria andWithdrawalIsNotNull() {
            addCriterion("withdrawal is not null");
            return (Criteria) this;
        }

        public Criteria andWithdrawalEqualTo(Integer value) {
            addCriterion("withdrawal =", value, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalNotEqualTo(Integer value) {
            addCriterion("withdrawal <>", value, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalGreaterThan(Integer value) {
            addCriterion("withdrawal >", value, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalGreaterThanOrEqualTo(Integer value) {
            addCriterion("withdrawal >=", value, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalLessThan(Integer value) {
            addCriterion("withdrawal <", value, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalLessThanOrEqualTo(Integer value) {
            addCriterion("withdrawal <=", value, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalIn(List<Integer> values) {
            addCriterion("withdrawal in", values, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalNotIn(List<Integer> values) {
            addCriterion("withdrawal not in", values, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalBetween(Integer value1, Integer value2) {
            addCriterion("withdrawal between", value1, value2, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithdrawalNotBetween(Integer value1, Integer value2) {
            addCriterion("withdrawal not between", value1, value2, "withdrawal");
            return (Criteria) this;
        }

        public Criteria andWithMoneyIsNull() {
            addCriterion("withMoney is null");
            return (Criteria) this;
        }

        public Criteria andWithMoneyIsNotNull() {
            addCriterion("withMoney is not null");
            return (Criteria) this;
        }

        public Criteria andWithMoneyEqualTo(BigDecimal value) {
            addCriterion("withMoney =", value, "withMoney");
            return (Criteria) this;
        }

        public Criteria andWithMoneyNotEqualTo(BigDecimal value) {
            addCriterion("withMoney <>", value, "withMoney");
            return (Criteria) this;
        }

        public Criteria andWithMoneyGreaterThan(BigDecimal value) {
            addCriterion("withMoney >", value, "withMoney");
            return (Criteria) this;
        }

        public Criteria andWithMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("withMoney >=", value, "withMoney");
            return (Criteria) this;
        }

        public Criteria andWithMoneyLessThan(BigDecimal value) {
            addCriterion("withMoney <", value, "withMoney");
            return (Criteria) this;
        }

        public Criteria andWithMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("withMoney <=", value, "withMoney");
            return (Criteria) this;
        }

        public Criteria andWithMoneyIn(List<BigDecimal> values) {
            addCriterion("withMoney in", values, "withMoney");
            return (Criteria) this;
        }

        public Criteria andWithMoneyNotIn(List<BigDecimal> values) {
            addCriterion("withMoney not in", values, "withMoney");
            return (Criteria) this;
        }

        public Criteria andWithMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("withMoney between", value1, value2, "withMoney");
            return (Criteria) this;
        }

        public Criteria andWithMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("withMoney not between", value1, value2, "withMoney");
            return (Criteria) this;
        }

        public Criteria andRechargeIsNull() {
            addCriterion("recharge is null");
            return (Criteria) this;
        }

        public Criteria andRechargeIsNotNull() {
            addCriterion("recharge is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeEqualTo(Integer value) {
            addCriterion("recharge =", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeNotEqualTo(Integer value) {
            addCriterion("recharge <>", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeGreaterThan(Integer value) {
            addCriterion("recharge >", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeGreaterThanOrEqualTo(Integer value) {
            addCriterion("recharge >=", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeLessThan(Integer value) {
            addCriterion("recharge <", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeLessThanOrEqualTo(Integer value) {
            addCriterion("recharge <=", value, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeIn(List<Integer> values) {
            addCriterion("recharge in", values, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeNotIn(List<Integer> values) {
            addCriterion("recharge not in", values, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeBetween(Integer value1, Integer value2) {
            addCriterion("recharge between", value1, value2, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechargeNotBetween(Integer value1, Integer value2) {
            addCriterion("recharge not between", value1, value2, "recharge");
            return (Criteria) this;
        }

        public Criteria andRechMoneyIsNull() {
            addCriterion("rechMoney is null");
            return (Criteria) this;
        }

        public Criteria andRechMoneyIsNotNull() {
            addCriterion("rechMoney is not null");
            return (Criteria) this;
        }

        public Criteria andRechMoneyEqualTo(BigDecimal value) {
            addCriterion("rechMoney =", value, "rechMoney");
            return (Criteria) this;
        }

        public Criteria andRechMoneyNotEqualTo(BigDecimal value) {
            addCriterion("rechMoney <>", value, "rechMoney");
            return (Criteria) this;
        }

        public Criteria andRechMoneyGreaterThan(BigDecimal value) {
            addCriterion("rechMoney >", value, "rechMoney");
            return (Criteria) this;
        }

        public Criteria andRechMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("rechMoney >=", value, "rechMoney");
            return (Criteria) this;
        }

        public Criteria andRechMoneyLessThan(BigDecimal value) {
            addCriterion("rechMoney <", value, "rechMoney");
            return (Criteria) this;
        }

        public Criteria andRechMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("rechMoney <=", value, "rechMoney");
            return (Criteria) this;
        }

        public Criteria andRechMoneyIn(List<BigDecimal> values) {
            addCriterion("rechMoney in", values, "rechMoney");
            return (Criteria) this;
        }

        public Criteria andRechMoneyNotIn(List<BigDecimal> values) {
            addCriterion("rechMoney not in", values, "rechMoney");
            return (Criteria) this;
        }

        public Criteria andRechMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rechMoney between", value1, value2, "rechMoney");
            return (Criteria) this;
        }

        public Criteria andRechMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rechMoney not between", value1, value2, "rechMoney");
            return (Criteria) this;
        }

        public Criteria andWithholdIsNull() {
            addCriterion("withhold is null");
            return (Criteria) this;
        }

        public Criteria andWithholdIsNotNull() {
            addCriterion("withhold is not null");
            return (Criteria) this;
        }

        public Criteria andWithholdEqualTo(Integer value) {
            addCriterion("withhold =", value, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdNotEqualTo(Integer value) {
            addCriterion("withhold <>", value, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdGreaterThan(Integer value) {
            addCriterion("withhold >", value, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdGreaterThanOrEqualTo(Integer value) {
            addCriterion("withhold >=", value, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdLessThan(Integer value) {
            addCriterion("withhold <", value, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdLessThanOrEqualTo(Integer value) {
            addCriterion("withhold <=", value, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdIn(List<Integer> values) {
            addCriterion("withhold in", values, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdNotIn(List<Integer> values) {
            addCriterion("withhold not in", values, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdBetween(Integer value1, Integer value2) {
            addCriterion("withhold between", value1, value2, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdNotBetween(Integer value1, Integer value2) {
            addCriterion("withhold not between", value1, value2, "withhold");
            return (Criteria) this;
        }

        public Criteria andWithholdMoneyIsNull() {
            addCriterion("withholdMoney is null");
            return (Criteria) this;
        }

        public Criteria andWithholdMoneyIsNotNull() {
            addCriterion("withholdMoney is not null");
            return (Criteria) this;
        }

        public Criteria andWithholdMoneyEqualTo(BigDecimal value) {
            addCriterion("withholdMoney =", value, "withholdMoney");
            return (Criteria) this;
        }

        public Criteria andWithholdMoneyNotEqualTo(BigDecimal value) {
            addCriterion("withholdMoney <>", value, "withholdMoney");
            return (Criteria) this;
        }

        public Criteria andWithholdMoneyGreaterThan(BigDecimal value) {
            addCriterion("withholdMoney >", value, "withholdMoney");
            return (Criteria) this;
        }

        public Criteria andWithholdMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("withholdMoney >=", value, "withholdMoney");
            return (Criteria) this;
        }

        public Criteria andWithholdMoneyLessThan(BigDecimal value) {
            addCriterion("withholdMoney <", value, "withholdMoney");
            return (Criteria) this;
        }

        public Criteria andWithholdMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("withholdMoney <=", value, "withholdMoney");
            return (Criteria) this;
        }

        public Criteria andWithholdMoneyIn(List<BigDecimal> values) {
            addCriterion("withholdMoney in", values, "withholdMoney");
            return (Criteria) this;
        }

        public Criteria andWithholdMoneyNotIn(List<BigDecimal> values) {
            addCriterion("withholdMoney not in", values, "withholdMoney");
            return (Criteria) this;
        }

        public Criteria andWithholdMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("withholdMoney between", value1, value2, "withholdMoney");
            return (Criteria) this;
        }

        public Criteria andWithholdMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("withholdMoney not between", value1, value2, "withholdMoney");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudIsNull() {
            addCriterion("shAntiFraud is null");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudIsNotNull() {
            addCriterion("shAntiFraud is not null");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudEqualTo(Integer value) {
            addCriterion("shAntiFraud =", value, "shAntiFraud");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudNotEqualTo(Integer value) {
            addCriterion("shAntiFraud <>", value, "shAntiFraud");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudGreaterThan(Integer value) {
            addCriterion("shAntiFraud >", value, "shAntiFraud");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudGreaterThanOrEqualTo(Integer value) {
            addCriterion("shAntiFraud >=", value, "shAntiFraud");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudLessThan(Integer value) {
            addCriterion("shAntiFraud <", value, "shAntiFraud");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudLessThanOrEqualTo(Integer value) {
            addCriterion("shAntiFraud <=", value, "shAntiFraud");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudIn(List<Integer> values) {
            addCriterion("shAntiFraud in", values, "shAntiFraud");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudNotIn(List<Integer> values) {
            addCriterion("shAntiFraud not in", values, "shAntiFraud");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudBetween(Integer value1, Integer value2) {
            addCriterion("shAntiFraud between", value1, value2, "shAntiFraud");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudNotBetween(Integer value1, Integer value2) {
            addCriterion("shAntiFraud not between", value1, value2, "shAntiFraud");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudMoneyIsNull() {
            addCriterion("shAntiFraudMoney is null");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudMoneyIsNotNull() {
            addCriterion("shAntiFraudMoney is not null");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudMoneyEqualTo(BigDecimal value) {
            addCriterion("shAntiFraudMoney =", value, "shAntiFraudMoney");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudMoneyNotEqualTo(BigDecimal value) {
            addCriterion("shAntiFraudMoney <>", value, "shAntiFraudMoney");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudMoneyGreaterThan(BigDecimal value) {
            addCriterion("shAntiFraudMoney >", value, "shAntiFraudMoney");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("shAntiFraudMoney >=", value, "shAntiFraudMoney");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudMoneyLessThan(BigDecimal value) {
            addCriterion("shAntiFraudMoney <", value, "shAntiFraudMoney");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("shAntiFraudMoney <=", value, "shAntiFraudMoney");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudMoneyIn(List<BigDecimal> values) {
            addCriterion("shAntiFraudMoney in", values, "shAntiFraudMoney");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudMoneyNotIn(List<BigDecimal> values) {
            addCriterion("shAntiFraudMoney not in", values, "shAntiFraudMoney");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shAntiFraudMoney between", value1, value2, "shAntiFraudMoney");
            return (Criteria) this;
        }

        public Criteria andShAntiFraudMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shAntiFraudMoney not between", value1, value2, "shAntiFraudMoney");
            return (Criteria) this;
        }

        public Criteria andShOperatorIsNull() {
            addCriterion("shOperator is null");
            return (Criteria) this;
        }

        public Criteria andShOperatorIsNotNull() {
            addCriterion("shOperator is not null");
            return (Criteria) this;
        }

        public Criteria andShOperatorEqualTo(Integer value) {
            addCriterion("shOperator =", value, "shOperator");
            return (Criteria) this;
        }

        public Criteria andShOperatorNotEqualTo(Integer value) {
            addCriterion("shOperator <>", value, "shOperator");
            return (Criteria) this;
        }

        public Criteria andShOperatorGreaterThan(Integer value) {
            addCriterion("shOperator >", value, "shOperator");
            return (Criteria) this;
        }

        public Criteria andShOperatorGreaterThanOrEqualTo(Integer value) {
            addCriterion("shOperator >=", value, "shOperator");
            return (Criteria) this;
        }

        public Criteria andShOperatorLessThan(Integer value) {
            addCriterion("shOperator <", value, "shOperator");
            return (Criteria) this;
        }

        public Criteria andShOperatorLessThanOrEqualTo(Integer value) {
            addCriterion("shOperator <=", value, "shOperator");
            return (Criteria) this;
        }

        public Criteria andShOperatorIn(List<Integer> values) {
            addCriterion("shOperator in", values, "shOperator");
            return (Criteria) this;
        }

        public Criteria andShOperatorNotIn(List<Integer> values) {
            addCriterion("shOperator not in", values, "shOperator");
            return (Criteria) this;
        }

        public Criteria andShOperatorBetween(Integer value1, Integer value2) {
            addCriterion("shOperator between", value1, value2, "shOperator");
            return (Criteria) this;
        }

        public Criteria andShOperatorNotBetween(Integer value1, Integer value2) {
            addCriterion("shOperator not between", value1, value2, "shOperator");
            return (Criteria) this;
        }

        public Criteria andShOperatorMoneyIsNull() {
            addCriterion("shOperatorMoney is null");
            return (Criteria) this;
        }

        public Criteria andShOperatorMoneyIsNotNull() {
            addCriterion("shOperatorMoney is not null");
            return (Criteria) this;
        }

        public Criteria andShOperatorMoneyEqualTo(BigDecimal value) {
            addCriterion("shOperatorMoney =", value, "shOperatorMoney");
            return (Criteria) this;
        }

        public Criteria andShOperatorMoneyNotEqualTo(BigDecimal value) {
            addCriterion("shOperatorMoney <>", value, "shOperatorMoney");
            return (Criteria) this;
        }

        public Criteria andShOperatorMoneyGreaterThan(BigDecimal value) {
            addCriterion("shOperatorMoney >", value, "shOperatorMoney");
            return (Criteria) this;
        }

        public Criteria andShOperatorMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("shOperatorMoney >=", value, "shOperatorMoney");
            return (Criteria) this;
        }

        public Criteria andShOperatorMoneyLessThan(BigDecimal value) {
            addCriterion("shOperatorMoney <", value, "shOperatorMoney");
            return (Criteria) this;
        }

        public Criteria andShOperatorMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("shOperatorMoney <=", value, "shOperatorMoney");
            return (Criteria) this;
        }

        public Criteria andShOperatorMoneyIn(List<BigDecimal> values) {
            addCriterion("shOperatorMoney in", values, "shOperatorMoney");
            return (Criteria) this;
        }

        public Criteria andShOperatorMoneyNotIn(List<BigDecimal> values) {
            addCriterion("shOperatorMoney not in", values, "shOperatorMoney");
            return (Criteria) this;
        }

        public Criteria andShOperatorMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shOperatorMoney between", value1, value2, "shOperatorMoney");
            return (Criteria) this;
        }

        public Criteria andShOperatorMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shOperatorMoney not between", value1, value2, "shOperatorMoney");
            return (Criteria) this;
        }

        public Criteria andShBadIsNull() {
            addCriterion("shBad is null");
            return (Criteria) this;
        }

        public Criteria andShBadIsNotNull() {
            addCriterion("shBad is not null");
            return (Criteria) this;
        }

        public Criteria andShBadEqualTo(Integer value) {
            addCriterion("shBad =", value, "shBad");
            return (Criteria) this;
        }

        public Criteria andShBadNotEqualTo(Integer value) {
            addCriterion("shBad <>", value, "shBad");
            return (Criteria) this;
        }

        public Criteria andShBadGreaterThan(Integer value) {
            addCriterion("shBad >", value, "shBad");
            return (Criteria) this;
        }

        public Criteria andShBadGreaterThanOrEqualTo(Integer value) {
            addCriterion("shBad >=", value, "shBad");
            return (Criteria) this;
        }

        public Criteria andShBadLessThan(Integer value) {
            addCriterion("shBad <", value, "shBad");
            return (Criteria) this;
        }

        public Criteria andShBadLessThanOrEqualTo(Integer value) {
            addCriterion("shBad <=", value, "shBad");
            return (Criteria) this;
        }

        public Criteria andShBadIn(List<Integer> values) {
            addCriterion("shBad in", values, "shBad");
            return (Criteria) this;
        }

        public Criteria andShBadNotIn(List<Integer> values) {
            addCriterion("shBad not in", values, "shBad");
            return (Criteria) this;
        }

        public Criteria andShBadBetween(Integer value1, Integer value2) {
            addCriterion("shBad between", value1, value2, "shBad");
            return (Criteria) this;
        }

        public Criteria andShBadNotBetween(Integer value1, Integer value2) {
            addCriterion("shBad not between", value1, value2, "shBad");
            return (Criteria) this;
        }

        public Criteria andShBadMoneyIsNull() {
            addCriterion("shBadMoney is null");
            return (Criteria) this;
        }

        public Criteria andShBadMoneyIsNotNull() {
            addCriterion("shBadMoney is not null");
            return (Criteria) this;
        }

        public Criteria andShBadMoneyEqualTo(BigDecimal value) {
            addCriterion("shBadMoney =", value, "shBadMoney");
            return (Criteria) this;
        }

        public Criteria andShBadMoneyNotEqualTo(BigDecimal value) {
            addCriterion("shBadMoney <>", value, "shBadMoney");
            return (Criteria) this;
        }

        public Criteria andShBadMoneyGreaterThan(BigDecimal value) {
            addCriterion("shBadMoney >", value, "shBadMoney");
            return (Criteria) this;
        }

        public Criteria andShBadMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("shBadMoney >=", value, "shBadMoney");
            return (Criteria) this;
        }

        public Criteria andShBadMoneyLessThan(BigDecimal value) {
            addCriterion("shBadMoney <", value, "shBadMoney");
            return (Criteria) this;
        }

        public Criteria andShBadMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("shBadMoney <=", value, "shBadMoney");
            return (Criteria) this;
        }

        public Criteria andShBadMoneyIn(List<BigDecimal> values) {
            addCriterion("shBadMoney in", values, "shBadMoney");
            return (Criteria) this;
        }

        public Criteria andShBadMoneyNotIn(List<BigDecimal> values) {
            addCriterion("shBadMoney not in", values, "shBadMoney");
            return (Criteria) this;
        }

        public Criteria andShBadMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shBadMoney between", value1, value2, "shBadMoney");
            return (Criteria) this;
        }

        public Criteria andShBadMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("shBadMoney not between", value1, value2, "shBadMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyIsNull() {
            addCriterion("sumMoney is null");
            return (Criteria) this;
        }

        public Criteria andSumMoneyIsNotNull() {
            addCriterion("sumMoney is not null");
            return (Criteria) this;
        }

        public Criteria andSumMoneyEqualTo(BigDecimal value) {
            addCriterion("sumMoney =", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyNotEqualTo(BigDecimal value) {
            addCriterion("sumMoney <>", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyGreaterThan(BigDecimal value) {
            addCriterion("sumMoney >", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sumMoney >=", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyLessThan(BigDecimal value) {
            addCriterion("sumMoney <", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sumMoney <=", value, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyIn(List<BigDecimal> values) {
            addCriterion("sumMoney in", values, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyNotIn(List<BigDecimal> values) {
            addCriterion("sumMoney not in", values, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sumMoney between", value1, value2, "sumMoney");
            return (Criteria) this;
        }

        public Criteria andSumMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sumMoney not between", value1, value2, "sumMoney");
            return (Criteria) this;
        }
    }

    /**
     * jyh_money_cost_log
     *
     * @mbggenerated do_not_delete_during_merge 2017-10-17
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * jyh_money_cost_log 2017-10-17
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}